import upload from '@/utils/upload'

// 文件上传
export function updateFile(data) {
  return upload({
    url: '/admin-api/infra/file/upload',
    filePath: data.url
  })
}